import { myRequest } from "./index";

export function getSearchHotList() {
  return myRequest.get({
    url: '/search/hot'
  })
}

export function getSearchSuggest(keyword) {
  return myRequest.get({
    url: `/search/suggest?keywords=${keyword}`
  })
}

export function getSearchKeyword(keyword) {
  return myRequest.get({
    url: `/cloudsearch?keywords=${keyword}`
  })
}